﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Text.Model.ShopModel
{
    [Table("ShopModel")]
   public class ShopModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ShopId { get; set; }
        /// <summary>
        /// 门店名称
        /// </summary>
        public string ShopName { get; set; }
        /// <summary>
        /// 分店名称
        /// </summary>
        public string BranchName { get; set; }
        /// <summary>
        ///门店图片
        /// </summary>
        public string ShopImg { get; set; }
        /// <summary>
        /// 开业时间
        /// </summary>
        public DateTime OpenTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 特色
        /// </summary>
        public string feature { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string Desc { get; set; }
        /// <summary>
        /// 门店地址的外键
        /// </summary>
        public int AddressId { get; set; }
        /// <summary>
        /// 酒店类型
        /// </summary>
        public string HotelType { get; set; }
        /// <summary>
        /// 开业时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>i
        public DateTime UpdateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// false表示未删除，true表示删除成功
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
